#pragma once 

#include <stdio.h>
#include <string>
#include <algorithm>
#include <vector>
#include <cstdlib>
#include <iostream>

#include "glm/glm.hpp"
#include "Point.h"
#include "Forme2D.h"

class CTriangle : public CForme2D
{
	public:
		CTriangle();
		CTriangle(CPoint _p1, CPoint _p2, CPoint _p3);
		~CTriangle();
		void DessineTriangle();
		CPoint GetP1();
		CPoint GetP2();
		CPoint GetP3();

	private:
		void SetP1(CPoint _p);
		void SetP2(CPoint _p);
		void SetP3(CPoint _p);

	protected:	
		CPoint p1;
		CPoint p2;
		CPoint p3;
};